package com.blkbox.cxf.first.server;

import javax.xml.ws.Endpoint;

public class CXFServer {

	public CXFServer() {
		System.out.println("server start");
		ServiceImpl impl = new ServiceImpl();
		String address = "http://localhost:9000/Hello";
		Endpoint.publish(address, impl);
	}
	
	public static void main(String[] args) {
		new CXFServer();
		System.out.println("server ready");
	}
}
